package com.pic.mgt.unit;

import java.io.File;
import java.io.Serializable;

public abstract class Unit implements Serializable {
	private File confirmationFile;
	private String businessName;
	
	public abstract String getUnitName();
	
	public String getConfirmationFilename() {
		if (null != this.confirmationFile) {
			return this.confirmationFile.getName();
		}
		else {
			return null;
		}
	}
	
	// --- getter and setter ---
	
	public File getConfirmationFile() {
		return confirmationFile;
	}

	public void setConfirmationFile(File confirmationFile) {
		this.confirmationFile = confirmationFile;
	}
	
	public String getBusinessName() {
		return businessName;
	}
	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}
	
}
